package com.fc.v2.mapper.auto;

import com.fc.v2.model.auto.Lecturer;
import com.fc.v2.model.auto.LecturerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 讲师表 LecturerMapper
 * @author fuce_自动生成
 * @email ${email}
 * @date 2021-06-16 14:19:34
 */
public interface LecturerMapper {
      	   	      	      	      	      	      	      	      
    long countByExample(LecturerExample example);

    int deleteByExample(LecturerExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(Lecturer record);

    int insertSelective(Lecturer record);

    List<Lecturer> selectByExample(LecturerExample example);
		
    Lecturer selectByPrimaryKey(Integer id);
		
    int updateByExampleSelective(@Param("record") Lecturer record, @Param("example") LecturerExample example);

    int updateByExample(@Param("record") Lecturer record, @Param("example") LecturerExample example); 
		
    int updateByPrimaryKeySelective(Lecturer record);

    int updateByPrimaryKey(Lecturer record);

    List<Lecturer> getLecturerByMechanism(@Param("mechanismId") Integer mechanismId);

    Lecturer getLecturerInfo(@Param("mechanismId") Integer mechanismId,@Param("id") Integer id);
  	  	
}